<template>
    <div>
        <div v-if="show" class="flex-column align-items-center">
            <img class="ve-img" src="../assets/img/icon-success.png">
            <div class="ve-notice">核验成功</div>
        </div>
    </div>
</template>
<script>
    export default {
        name: "Verify",
        data() {
            return {
                show: false,
                url: {
                    write: this.axiosUrl + 'Order/write'
                }
            }
        },
        components: {},
        mounted() {
            this.write()
            this.$wxConfig.share(this.$route.path)
        },
        methods: {
            write() {
                let _this = this
                _this.$http.post(_this.url.write, {id: _this.$route.query.id}, () => {
                    _this.show = true
                })
            }
        }
    }
</script>
<style lang="stylus" scoped>
    .ve-img {
        margin-top 100px
        width 60px
        height 60px
    }

    .ve-notice {
        margin-top 20px
        color green
        font-size 16px
    }
</style>
